package com.kaikeba.t31ticket.ticket.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.context.annotation.Bean;

/**
 * 
 * 
 * @author wuhe
 * @email itzhao@163.com
 * @date 2021-11-11 02:04:51
 */
@Data
@TableName("ticket_carriage")
public class CarriageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 所属车次
	 */
	private Long trainId;
	/**
	 * 车厢号码
	 */
	private String carriageNumber;
	/**
	 * 车厢级别,硬座/硬卧/软卧
	 */
	private String carriageLevel;
	/**
	 * 座位数量
	 */
	private Integer numberOfSeat;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Date updateTime;

}
